package com.north.light.androidutils.canvas.progressbar;

import com.north.light.androidutils.R;

import java.io.Serializable;

/**
 * FileName: ProgressBarInfo
 * Author: lzt
 * Date: 2022/7/7 9:06
 * 自定义进度条参数
 */
public class ProgressBarInfo implements Serializable {

    //进度条背景色--resource color
    private int bgColor = R.color.color_a8a8a8;
    //进度条开始颜色
    private int progressStartColor = R.color.colorPrimaryDark;
    //进度条结束颜色
    private int progressEndColor = R.color.blue_light;
    //进度条圆角
    private int radius = 20;
    //进度条文字大小，文字颜色,显示的文字
    private int textSize = 16;
    private int textColor = R.color.color_ffffff;
    private String text = "100%";
    //文字是否加粗
    private boolean textBold = false;
    //进度--最大100
    private int progress = 6;

    public boolean isTextBold() {
        return textBold;
    }

    public void setTextBold(boolean textBold) {
        this.textBold = textBold;
    }

    public int getProgress() {
        return progress;
    }

    public void setProgress(int progress) {
        this.progress = progress;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public int getBgColor() {
        return bgColor;
    }

    public void setBgColor(int bgColor) {
        this.bgColor = bgColor;
    }

    public int getProgressStartColor() {
        return progressStartColor;
    }

    public void setProgressStartColor(int progressStartColor) {
        this.progressStartColor = progressStartColor;
    }

    public int getProgressEndColor() {
        return progressEndColor;
    }

    public void setProgressEndColor(int progressEndColor) {
        this.progressEndColor = progressEndColor;
    }

    public int getRadius() {
        return radius;
    }

    public void setRadius(int radius) {
        this.radius = radius;
    }

    public int getTextSize() {
        return textSize;
    }

    public void setTextSize(int textSize) {
        this.textSize = textSize;
    }

    public int getTextColor() {
        return textColor;
    }

    public void setTextColor(int textColor) {
        this.textColor = textColor;
    }
}
